<template>
  <div>
    <el-container>
      <el-header>Header</el-header>
      <el-container class="init">
        <el-aside width="200px">Aside</el-aside>
        <el-main>
          <Main></Main>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Main from "@/components/lh/main.vue";
export default {
  components: {
    Main
  }
};
</script>


<style scoped>
.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
  margin-bottom: 30px;
}
.init {
  width: 1300px;
  margin: 0 auto;
  height: 2000px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  width: 280px;
  margin-right: 20px;
}

.el-main {
  color: #333;
  overflow: hidden;

  width: 960px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>

